package com.googlecode.perfectable.visuable.renderer;

public abstract class VisualRendererDecorator implements VisualRenderer {

	private final VisualRenderer inner;

	protected VisualRendererDecorator(VisualRenderer inner) {
		this.inner = inner;
	}

	@Override
	public ElementRenderer element(String elementName) {
		return this.inner.element(elementName);
	}

	@Override
	public void close() {
		this.inner.close();
	}

}
